package com.jmb.api.service;

import com.alibaba.fastjson2.JSONArray;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jmb.api.model.entity.ApiTestCaseAssertLog;
import com.jmb.api.model.entity.ApiTestCaseExecuteLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jmb.api.model.to.api.log.ApiTestCaseExecuteLogListTO;
import com.jmb.api.model.vo.api.log.ApiTestCaseExecuteLogListVO;
import com.jmb.api.model.vo.api.log.ApiTestCaseExecuteLogVO;
import com.jmb.api.vo.api.ApiTestAssertLogVo;

import java.util.List;

/**
* @author jinbo
* @description 针对表【api_test_case_execute_log】的数据库操作Service
* @createDate 2025-04-08 13:53:56
*/
public interface ApiTestCaseExecuteLogService extends IService<ApiTestCaseExecuteLog> {
    ApiTestCaseExecuteLog  saveApiTestCaseExecuteLog(ApiTestCaseExecuteLog caseExecuteLog);
    IPage<ApiTestCaseExecuteLogListVO> getExecuteLogList(IPage<ApiTestCaseExecuteLogListVO> page, ApiTestCaseExecuteLogListTO caseExecuteLogListTO);

    ApiTestCaseExecuteLogVO findExecute(Integer executeId);

    void modifyExecuteLog(ApiTestCaseExecuteLog executeLog);

    JSONArray caseExecuteLogChain(Integer executeId);

    List<ApiTestCaseExecuteLogListVO> findExecuteListAll(ApiTestCaseExecuteLogListTO executeLogListDTO);


}
